package centrocommerciale;


/**
 * La classe crea le istanze di Attività Commerciali e Servizi
 * 
 * @author koelio
 * 
 */
public class CommercialFactory implements ICommercialFactory {

	public Commercial generateBusiness(String id, String type, int localNumb,
			int mqTot, int costs, int income) {
		return new Business(id, type, localNumb, mqTot, costs, income);
	}

	public Commercial generateService(String id, String type, int localNumb,
			int mqTot, int costs, int income) {
		return new Service(id, type, localNumb, mqTot, costs, income);
	}

}
